<?php
/**
 * 中间件的多语言
 * Author: lyun
 * Date: 2018/6/5
 * Created by Panxsoft.
 */

return [
    /**
     * @used-by \App\Http\Middleware\AdminAuth
     */
    'token_invalid'       => 'invalid token', // invalid token

    /**
     * @used-by \App\Http\Middleware\WechatAuth
     */
    'appid'                => 'appid required',  // appid required
    'openid'               => 'openid required', // openid required

    'authorizer_not_found' => 'WeChat Official Account does not exist or Authorization canceled',
    'authorizer_canceled'  => 'authorizer canceled',

    'error'                => 'WeChat user openid :openid has not paid attention to the public number and has not authorized the webpage',
    'custom_openid'        => 'user',

    'wechat_user_not_found_from_web_openid'        => 'wechat user',

    'account_disabled'     => 'your account has been disabled',
    'account_not_found'    => 'your account not found',
    'account_must_be_super_admin' => 'your account must be super admin',

    'customer_admin' => [
        'customer_disabled' => 'customer is disabled by panx',
        'customer_type_should_be_normal' => 'customer type should be normal',
    ],

    'store_admin' => [
        'store_disabled' => 'store is disabled by customer'
    ]
];
